package com.cmf.myproject.service.problemOnline.dto;

import lombok.Data;

import java.util.Date;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import io.swagger.annotations.ApiModelProperty;

@Data
public class ProblemOnlineUpdateItemReqDto {
	/**
	 * (problem_online)
	 */
	@ApiModelProperty(value = "")
	private Long id;
	/**
	 * 出现问题(problem_online)
	 */
	@ApiModelProperty(value = "出现问题")
	@Size(min = 0,max = 255,message ="problem字段超过限长（255）")
	private String problem;
	/**
	 * 原因(problem_online)
	 */
	@ApiModelProperty(value = "原因")
	@Size(min = 0,max = 255,message ="reason字段超过限长（255）")
	private String reason;
	/**
	 * 解决人(problem_online)
	 */
	@ApiModelProperty(value = "解决人")
	@Size(min = 0,max = 255,message ="fixMan字段超过限长（255）")
	private String fixMan;
	/**
	 * 解决方案(problem_online)
	 */
	@ApiModelProperty(value = "解决方案")
	@Size(min = 0,max = 255,message ="solutionWay字段超过限长（255）")
	private String solutionWay;
	/**
	 * 故障开始时间(problem_online)
	 */
	@ApiModelProperty(value = "故障开始时间")
	private Date startTime;
	/**
	 * 故障解决时间(problem_online)
	 */
	@ApiModelProperty(value = "故障解决时间")
	private Date endTime;
	/**
	 * 故障平台(problem_online)
	 */
	@ApiModelProperty(value = "故障平台")
	@Size(min = 0,max = 20,message ="plantform字段超过限长（20）")
	private String plantform;
	/**
	 * (problem_online)
	 */
	@ApiModelProperty(value = "")
	private Date createTime;
	/**
	 * (problem_online)
	 */
	@ApiModelProperty(value = "")
	private Date updateTime;
}